package com.jprocms.module.cms.controller.admin.investigateoptionop.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 问卷调查选项与调查意见关联 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class InvestigateOptionOpBaseVO {

    @Schema(description = "问卷意见ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13002")
    @NotNull(message = "问卷意见ID不能为空")
    private Long investigateOpinionId;

    @Schema(description = "问卷ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30725")
    @NotNull(message = "问卷ID不能为空")
    private Long investigateId;

    @Schema(description = "问卷条目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3161")
    @NotNull(message = "问卷条目ID不能为空")
    private Long investigateItemId;

    @Schema(description = "问卷选项ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2276")
    @NotNull(message = "问卷选项ID不能为空")
    private Long investigateOptionId;

}
